<template>
  <header>
    <div class="header">
      <div class="logo"><img src="https://www.famulei.com/images/index/score.png" height="60" ></div>
      <nav>
        <span><nuxt-link :to="{name:'index'}">HOME</nuxt-link></span>
        <span><nuxt-link :to="{name:'page1',query:{newsId:3306},params:{newsId:3306}}">page1</nuxt-link></span>
        <span><nuxt-link :to="{name:'page2',query:{p:315},params:{newsId:3307}}">page2</nuxt-link></span>
        <span><nuxt-link :to="{name:'qqMusic'}">qqMusic</nuxt-link></span>
      </nav>
    </div>
  </header>
</template>

<script>
  export default {
    name: "page1",
    components: {},
    data() {
      return {}
    },
    mounted() {

    },
    methods: {},
    destroyed() {
    }
  }
</script>

<style lang="stylus" scoped>

  header{
    height 80px;
    background #fff;
    box-shadow:0px 12px 8px -8px rgba(241,237,255,0.5);
    border-bottom 1px solid #ddd;
    display flex;

    .header{
      width 980px;
      max-width 1200px;
      margin 0 auto;
      display flex;
    }

    .logo{
      width 200px;
      display flex;
      align-items center;
    }

    nav{
      display flex;
      align-items center;

      a:hover{
        color:#218ff2;
      }

      span {
        padding:0 20px;
      }
    }
  }

</style>
